#ifndef EDITORSHADER_H
#define EDITORSHADER_H

#include <gfx/ishader.h>

class EditorShader : public iShader
{
  CE_OBJECT
private:
  iShader*  _shader;

public:
  EditorShader(ceShaderType type);
  ~EditorShader ();

  iShader* GetSource ();

  virtual void ChangeType (ceShaderType type);
  virtual ceShaderType GetType () const;

  virtual void SetSource (const std::string& source);
  virtual bool Compile ();
  virtual bool IsCompiled () const;

  virtual std::string GetCompileInfoLog () const;

};

#endif // EDITORSHADER_H
